package com.demo.resourcecode.annotationutil.aliasFor1;

import org.springframework.core.annotation.AnnotationUtils;

@MyAnnotation(location = "location11")
public class AnnotationUtilsDemo {

	public static void main(String[] args) {
		MyAnnotation myAnnotation = AnnotationUtils.findAnnotation(AnnotationUtilsDemo.class, MyAnnotation.class);
        System.out.println("value:" + myAnnotation.value() + ";loation:" + myAnnotation.location());
	}
	
}
